AC_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
[turn on debugging @<:@default=debug_default@:>@]),,
enable_debug=debug_default)
+
+AC_ARG_ENABLE(rebuilds,
+ [AC_HELP_STRING([--disable-rebuilds],
+ [disable all source autogeneration rules])],,
+ [enable_rebuilds=yes])
+
AC_ARG_ENABLE(xkb,
[AC_HELP_STRING([--enable-xkb],
- [support XKB [default=maybe]])],,
+ [support XKB extension [default=maybe]])],,
[enable_xkb="maybe"])
AC_ARG_ENABLE(xinerama,
[AC_HELP_STRING([--enable-xinerama],
- [support xinerama extension if available [default=yes]])],,
+ [support Xinerama extension if available [default=yes]])],,
[enable_xinerama="yes"])
-AC_ARG_ENABLE(rebuilds,
- [AC_HELP_STRING([--disable-rebuilds],
- [disable all source autogeneration rules])],,
- [enable_rebuilds=yes])
-
-AC_ARG_WITH(xinput,
- [AC_HELP_STRING([--with-xinput=@<:@no/yes@:>@], [support XInput])])
+AC_ARG_ENABLE(xinput,
+ [AC_HELP_STRING([--enable-xinput],
+ [support XInput extension if available [default=yes]])],,
+ [enable_xinput="yes"])
if test "$platform_win32" = yes; then
gdktarget=win32
gdktarget=x11
fi
-AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz]] select non-default GDK target],
- gdktarget=$with_gdktarget)
+AC_ARG_WITH(gdktarget,
+ AC_HELP_STRING([--with-gdktarget=@<:@x11/win32/quartz@:>@],
+ [select non-default GDK target]),
+ gdktarget=$with_gdktarget)
AC_SUBST(gdktarget)
case $gdktarget in
dnl AC_HELP_STRING([--with-included-immodules=MODULE1 MODULE2 ...],
dnl [build the specified input method modules into gtk])
AC_ARG_WITH(included_immodules,
-[ --with-included-immodules=MODULE1,MODULE2,...
- build the specified input methods into gtk])
+ AC_HELP_STRING([--with-included-immodules=MODULE1,MODULE2,...],
+ [build the specified input methods into gtk]))
if $dynworks; then
:
fi
# set up things for XInput
- if test "x$with_xinput" != "xno" && $PKG_CONFIG --exists "xi" ; then
+ if test "x$enable_xinput" != "xno" && $PKG_CONFIG --exists "xi" ; then
have_xinput=yes
AC_DEFINE(XINPUT_XFREE, 1,
################################################################
AC_ARG_ENABLE(cups,
- [AC_HELP_STRING([--disable-cups]
+ [AC_HELP_STRING([--disable-cups],
[disable cups print backend])],,
[enable_cups=auto])
#
AC_ARG_ENABLE(papi,
- [AC_HELP_STRING([--disable-papi]
+ [AC_HELP_STRING([--disable-papi],
[disable papi print backend])],,
[enable_papi=auto])
*** postscript backend enabled.]))
AC_CHECK_HEADER(cairo-svg.h,,AC_MSG_ERROR([
-*** Can't find cairo-svg.h. You must build Cairo with the
+*** Cannot find cairo-svg.h. You must build Cairo with the
*** svg backend enabled.]))
fi
#################################################
AC_ARG_ENABLE(packagekit,
- AC_HELP_STRING([--disable-packagekit],
- [build packagekit open with module]))
+ AC_HELP_STRING([--disable-packagekit],
+ [build packagekit open-with module]))
ENABLE_PACKAGEKIT=
if test "os_win32" != "yes"; then
- if test "x$enable_packagekit" != "xno"; then
- ENABLE_PACKAGEKIT=1
- AC_DEFINE(ENABLE_PACKAGEKIT, 1, [define to enable packagekit])
- fi
+ if test "x$enable_packagekit" != "xno"; then
+ ENABLE_PACKAGEKIT=1
+ AC_DEFINE(ENABLE_PACKAGEKIT, 1, [define to enable packagekit])
+ fi
fi
AC_SUBST(ENABLE_PACKAGEKIT)
<arg>--with-included-immodules=MODULE1,MODULE2,...</arg>
</group>
<group>
- <arg>--enable-debug=[no|minimum|yes]</arg>
+ <arg>--enable-debug=[no/minimum/yes]</arg>
</group>
<group>
<arg>--disable-Bsymbolic</arg>
<arg>--enable-papi</arg>
</group>
<group>
- <arg>--with-xinput=[no|yes]</arg>
+ <arg>--enable-xinput</arg>
+ <arg>--disable-xinput</arg>
</group>
<group>
- <arg>--with-gdktarget=[x11|win32|quartz]</arg>
+ <arg>--enable-packagekit</arg>
+ <arg>--disable-packagekit</arg>
</group>
<group>
- <arg>--disable-introspection</arg>
+ <arg>--with-gdktarget=[x11/win32/quartz]</arg>
+ </group>
+ <group>
+ <arg>--enable-introspection=[no/auto/yes]</arg>
</group>
</cmdsynopsis>
</para>
</formalpara>
<formalpara>
- <title><systemitem>--with-xinput</systemitem></title>
+ <title><systemitem>--disable-xinput</systemitem> and
+ <systemitem>--enable-xinput</systemitem></title>
<para>
Controls whether GTK+ is built with support for the XInput
or XInput2 extension. These extensions provide an extended
information.
</para>
</formalpara>
+
+ <formalpara>
+ <title><systemitem>--disable-packagekit</systemitem> and
+ <systemitem>--enable-packagekit</systemitem></title>
+ <para>
+ By default the <command>configure</command> script will try
+ to build the PackageKit support for the open-with dialog if
+ the PackageKit libraries are found.
+ These options can be used to explicitly control whether
+ PackageKit support should be built.
+ </para>
+ </formalpara>
+
<formalpara>
<title><systemitem>--with-gdktarget</systemitem></title>
</para>
</formalpara>
<formalpara>
- <title><systemitem>--disable-introspection</systemitem></title>
+ <title><systemitem>--enable-introspection</systemitem></title>
<para>
- Build without introspection support.
+ Build with or without introspection support.
+ The default is 'auto'.
</para>
</formalpara>
</refsect1>